﻿using System;
using System.Web.Http;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.WsFederation;
using Microsoft.Owin.StaticFiles;
using Owin;
using System.Configuration;
using System.Web.Http.Cors;

namespace Sustainalytics.Websites.Admin.Library
{
    public class Startup
    {
        public void Configuration(IAppBuilder builder)
        {
            var options = new FileServerOptions
            {
                EnableDirectoryBrowsing = false,
                FileSystem = new PhysicalFileSystem(@"website")
            };
            builder.UseFileServer(options);

        }
    }
}
